package com.demo.cms.model;

import com.demo.core.model.support.SimpleBaseModel;

/**
 * 
 * 角色-导航模型
 * 记录了角色与导航列表的关联关系。
 * 
 * @author ryuu.kk
 *
 */
public class RoleNavi extends SimpleBaseModel implements java.io.Serializable {

	/**
	 * 模型序列化ID
	 */
	private static final long serialVersionUID = -934853049486896841L;

	/**
	 * 站点ID
	 */
	private Long siteId;
	
	/**
	 * 角色ID
	 */
	private Long roleId;
	
	/**
	 * 导航ID
	 */
	private Long naviId;
	
	/**
	 * 可用标志
	 */
	private boolean enabled;
	
	/**
	 * 优先级排序
	 */
	private int priority;
	
	public Long getSiteId() {
		return siteId;
	}

	public void setSiteId(Long siteId) {
		this.siteId = siteId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getNaviId() {
		return naviId;
	}

	public void setNaviId(Long naviId) {
		this.naviId = naviId;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}
}
